<?php $form=$this->beginWidget('CActiveForm', array(
  'id'=>'source-form',
  'enableAjaxValidation'=>false,
)); ?>

<div class="box">
    <div class="heading">
      <h1><img src="image/book.png" alt="" />Insert Source</h1>
     <div class="buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save',array('id' =>'yt0')); ?>
                 <?php echo CHtml::link('Cancel', array('source/index'),array('class' =>'button')) ?>
		</div>
    </div>
    <div class="content">
    <?php echo $form->errorSummary($model); ?>
		<div id="tab-data">
         
          <table class="form">
            <!--<tr>
              <td><span class="required">*</span> ID Book:</td>
              <td><input type="text" name="idBook" value="" />
                </td>
            </tr>-->
            <tr>
              <td><?php echo $form->labelEx($model,'source_name'); ?></td>
              <td><?php echo $form->textField($model,'source_name',array('size'=>60,'maxlength'=>200)); ?></td>
            </tr>
			<tr>
              <td><?php echo $form->labelEx($model,'source_selector'); ?></td>
              <td><?php echo $form->textField($model,'source_selector',array('size'=>60,'maxlength'=>200)); ?></td>
            </tr>
			
			
			
          </table>
        </div>
  
    </div>
  </div>
  <?php $this->endWidget(); ?>